#include "task.h"
#include "user_include.h"

uint32_t task1Cnt = 0;

void task1(void)
{
    while (1)
    {
        if (TEST_BIT(taskRunFlag, TASK_1))
        {
            CLR_BIT(taskRunFlag, TASK_1);
            P46 = !P46;

            task1Cnt++;
            taskNext();

            P46 = !P46;
        }
    }
}
